<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>获取Symbol字符串描述</title>
</head>
<body>
<script>
    //
    const str=Symbol('zhangSan')
    console.log(str.description)
</script>
</body>
</html>